/*
* Copyrigth 2008 Company All rigths reserved
* File Name: ILaboratory.cs
* Created By:    Wenbin.Xu
* Created Date:   2013/7/8 16:28:35
* Description:    Laboratory模块的接口
* Change History: 
* 
* */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrainingsApp.Model;
using TrainingsApp.DAL;
using System.Web.UI.WebControls;

namespace TrainingsApp.Logic
{
    public class TS_Question_Logic
    {
        public static TS_Question_Collecion TS_Question_ListByPaging(int pageSize, int pageIndex)
        {
            return TS_Question_DAL.TS_Question_ListByPaging(pageSize, pageIndex);
        }

        public static TS_Question_Entity TS_Question_View(System.Guid QuestionId)
        {
            return TS_Question_DAL.TS_Question_View(QuestionId);
        }

        public static TS_Question_Entity TS_Question_ViewByQuestion(System.String Question)
        {
            return TS_Question_DAL.TS_Question_ViewByQuestion(Question);
        }

        public static TS_Question_Entity TS_Question_ViewByPreviewId(System.Guid PreviewId)
        {
            return TS_Question_DAL.TS_Question_ViewByPreviewId(PreviewId);
        }

        public static TS_Question_Entity TS_Question_Add(TS_Question_Entity entity)
        {
            return TS_Question_DAL.TS_Question_Add(entity);
        }

        public static void TS_Question_Update(TS_Question_Entity entity)
        {
            TS_Question_DAL.TS_Question_Update(entity);
        }

        public static void TS_Question_Delete(System.Guid QuestionId)
        {
            TS_Question_DAL.TS_Question_Delete(QuestionId);
        }


    }
}
